{# SPDX-FileCopyrightText: © 2014-2015 Siemens AG

   SPDX-License-Identifier: FSFAP
#}
{% import "include/macros.html.twig" as macro %}

{% if jobOptions|length %}
  {% if (operation == 'pause') or (operation == 'restart') or (operation == 'priority') %}
  {{ "Select a job"|trans }}:
  {% elseif (operation == 'status') or (operation == 'verbose') %}
  {{ "Select the scheduler or a job"|trans }}:
  {% endif %}
 {{ macro.select('job_list',jobOptions,'job_list',0) }}
{% else %} 
  {{ 'No job available'|trans }}
{% endif %}

{% if operation == 'priority' %}
<br/>{{ "Select a priority level"|trans }}: 
{{ macro.select('priority_list',priorityList,'priority_list',0) }}      
{% endif %}